#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>

QT_BEGIN_NAMESPACE
namespace Ui { class Widget; }
QT_END_NAMESPACE

class Widget : public QWidget
{
    Q_OBJECT

public:
    Widget(QWidget *parent = nullptr);
    ~Widget();
    QString word[10000];
    QString mean[10000];
    int length;
    int word_length[27];

    int HalfSearch(QString n,int low,int high);
    void WordFind();
    void FileUpdate(int number);
    void WordInsert();
    void WordDelete();

private:
    Ui::Widget *ui;
};
#endif // WIDGET_H
